package behavioral.observer.pull;

public class CustomSubject extends ISubject {
    private String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void update(String state) {
        this.state = state;
        notifyAll1();
    }
}
